package com.zhaowudi.wj.dao;

import com.zhaowudi.wj.pojo.User;
import org.springframework.stereotype.Repository;

@Repository // 标注数据访问组件
public interface UserDAO {
    User findByUsername(String username);
    User getByUsernameAndPassword(String username,String password);
}
